$(function() {
    // 首页功能页面跳转
    $("#cart_list").click(function() {
        location.href = "./cartlist.html"
    })
    $("#login").click(function() {
        location.href = "./user_login.html"
    })
    $("#register").click(function() {
        location.href = "./user_register.html"
    })
    $(".logo").click(function() {
        location.href = "./index.html"
    })
    $(".firm_logo").click(function() {
        location.href = "./index.html"
    })
})